export default Layout => [
  {
    path: '/news',
    redirect: {name: 'uploadNews'},
    component: Layout,
    meta: {icon: 'ballot', title: '新闻模块'},
    children: [
      {
        path: 'upload',
        name: 'uploadNews',
        meta: {title: '发布新闻', icon: 'chart-histogram'},
        component: () => import('@/views/news-upload'),
      },
      {
        path: 'manage',
        name: 'newsManage',
        meta: {title: '新闻管理', icon: 'browser'},
        component: () => import('@/views/news-manage'),
      }
    ]
  }
]